package homework.homework01;

public class Test01 {
    public static void main(String[] args) {
        Employee e1 = new Employee(7, "一号", 20, 4000);
        Programmer p1 = new Programmer(8, "二号", 25, 7000, "java");
        Designer d1 = new Designer(9, "三号", 30, 10000, "java",20000);
        Architect a1 = new Architect(10,"四号",36,30000,"java",50000,10);
        System.out.println(e1.getInfo());
        System.out.println(p1.getInfo());
        System.out.println(d1.getInfo());
        System.out.println(a1.getInfo());
    }
}